package com.yndsoft.jc.model;

/**
 * Created by hasee on 2017/12/14.
 */

import java.util.List;

/**
 * int                   id           ID
 * int                   pid          父ID
 * int                   sort         排序
 * string                img          图标
 * string                name         名称
 * List<ProductType>     dets         子类别
 */
public class ProductType {
    private Integer id;
    private Integer pid;
    private Integer sort;
    private String img;
    private String name;
    private List<ProductType> dets;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<ProductType> getDets() {
        return dets;
    }

    public void setDets(List<ProductType> dets) {
        this.dets = dets;
    }
}
